// Session.h: interface for the CCommSession class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SESSION_H__26D930C5_A9D3_4C1E_BB2C_9DD49B0BFC09__INCLUDED_)
#define AFX_SESSION_H__26D930C5_A9D3_4C1E_BB2C_9DD49B0BFC09__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CCommSession  
{
public:
	CCommSession();
	virtual ~CCommSession();

	int   Start();
	int   Stop();

	unsigned int GetTunnelCode();
	unsigned int GetFrequencyCode();
	unsigned int GetGraphicMode();
	float GetDisplacementCoeffcient();
	float GetForceCoeffcient();
	CString GetFileName();
	BOOL GetIsSaveFile();
private:
	//parameters related with communication 
	unsigned int m_tunnelCode;
	unsigned int m_frequencyCode;
	
	//parameters related with display
	unsigned int m_graphicMode;
	BOOL m_isSaveFile;
	CString m_filePathName;
	//float m_displacementTunnel;
	//float m_forceTunnel;
	float m_fOffSets[8];
	
	//pamrameters with session management
	bool m_stopFlag;
	CWinThread *m_pCommThread;

};

#endif // !defined(AFX_SESSION_H__26D930C5_A9D3_4C1E_BB2C_9DD49B0BFC09__INCLUDED_)
